{% extends admin_login_base %}

{% block title %} Login | {{site.name}} | Pantoto {% endblock %} 

{% block messages %}
{% if errors %}
<div class="alert_error" style="width:350px;margin:auto;padding:auto;">
    <p>
        <img src="{{media}}/images/icon_error.png" alt="delete" class="mid_align">
        {{errors}}
    </p>
</div>
{% else %}
{% endif %}
{% endblock %}

{% block logo %} <img src='{{site.get_logo_url}}' alt='Pantoto' class="mid_align" /> {{site.name}} Login {% endblock %}

{% block contents %}
<form action="" method="post" id="form_login" name="form_login">
    {% csrf_token %}
    <p>
        <input type="text" id="username" name="username" style="width:285px" title="Username"/>
    </p>
    <p>
        <input type="password" id="password" name="password" style="width:285px" title="******"/>
    </p>
    <p style="margin-top:40px">
        <input type="submit" id="submit" name="submit" value="Login" class="Login" style="margin-right:5px"/>
        <input type="checkbox" id="remember" name="remember"/>Remember my password
    </p>
     <input type="hidden" name="next" value="{{next}}" />
</form>
{% endblock %}
